﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class webmx_program_project_info_List : PageBase
{
    public DataTable data;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (string.IsNullOrEmpty(Request["pid"]))
            AlertRedirect("参数错误，请重新打开。", "../list.aspx");
        else
        {
            data = DBHelper.GetDataTable("select b.id, b.name, b.year, a.* from temple_order a inner join temple_rally b on a.rallyid = b.id where rallyid = " + Request["pid"] + " and flag <> 1 and a.state = 1 order by addtime desc");
        }
    }
}